module.exports = {
  platform: "h5",
  name: "",
  debug: false,
  units: {
    px2rem: 1 / 37.5,
    px2rpx: 1,
    rem2rpx: 37.5,
    px2pt: 0.22,
    rpx2pt: 0.75,
    rem2pt: 28.125,
    "vw2%": 1,
    "vh2%": 1
  },
  rule: {
    h5: ["px2rem"],
    mp: ["px2rpx", "rem2rpx"],
    native: ["px2pt", "rem2pt", "rpx2pt", "vw2%", "vh2%"]
  },
  alias: {
    isWeixin: ["mp-weixin", "weapp"],
    isBaidu: ["mp-baidu", "swan"],
    isAli: ["mp-alipay", "alipay"],
    isToutiao: ["mp-toutiao", "tt"],
    isQQ: ["mp-qq", "qq"],
    isQuickapp: [
      "quickapp-native",
      "quickapp-webview",
      "quickapp-webview-huawei",
      "quickapp-webview-union",
      "quickapp"
    ],
    isNative: ["app-plus", "rn"]
  }
};
